package com.lkl.demo.constant;

/**
 * 通用常量信息
 */
public class Constants {

    public final static String ACCESS_TOKEN = "access_token_";

    public final static String ACCESS_USERID = "access_userid_";

    public final static String LOGIN_THRESHOLD = "login_threshold_";

    /**
     * 密码错误次数
     */
    public final static int PASSWORD_ERROR_THRESHOLD = 3;

    /**
     * 12小时后过期
     */
    public final static long EXPIRE = 12 * 60 * 60 * 14;

    /**
     * 密码输错 PASSWORD_ERROR_THRESHOLD 次后，多少分钟才可继续登录
     */
    public final static long CONTINUE_LOGIN_MINUTES = 10 ;
}
